import request from '@/utils/request'

// 查询部署记录列表
export function listDeploymentLog(query) {
  return request({
    url: '/fun/deploymentLog/list',
    method: 'get',
    params: query
  })
}

// 查询部署记录详细
export function getDeploymentLog(id) {
  return request({
    url: '/fun/deploymentLog/' + id,
    method: 'get'
  })
}

// 新增部署记录
export function addDeploymentLog(data) {
  return request({
    url: '/fun/deploymentLog',
    method: 'post',
    data: data
  })
}

// 修改部署记录
export function updateDeploymentLog(data) {
  return request({
    url: '/fun/deploymentLog',
    method: 'put',
    data: data
  })
}

// 删除部署记录
export function delDeploymentLog(id) {
  return request({
    url: '/fun/deploymentLog/' + id,
    method: 'delete'
  })
}
